<template>
  <div>
    <p class="mt-30 mb-30">自定义组件</p>
    <div class="primary color-box"></div>
    <div class="success color-box"></div>
    <div class="danger color-box"></div>
    <div class="warning color-box"></div>
    <div class="info color-box"></div>
    <br />
    <p class="mt-30 mb-30">element组件</p>
    <el-button class="mr-100" type="primary">主要按钮</el-button>
    <el-button class="mr-100" type="success">成功按钮</el-button>
    <el-button class="mr-100" type="danger">危险按钮</el-button>
    <el-button class="mr-100" type="warning">警告按钮</el-button>
    <el-button type="info">信息按钮</el-button>
  </div>
</template>

<script>
export default {};
</script>

<style lang="scss" scoped>
.color-box {
  display: inline-block;
  margin-right: 100px;
  width: 100px;
  height: 100px;
}
.primary {
  background-color: $primary;
}
.success {
  background-color: $success;
}
.danger {
  background-color: $danger;
}
.warning {
  background-color: $warning;
}
.info {
  background-color: $info;
}
</style>
